package com.service.user;

import com.entity.User;
import com.facade.user.cud.IUserFacadeCUD;
import com.mapper.CustomMapper;
import com.mapper.UserMapper;
import com.service.CustomServiceCUD;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceCUD extends CustomServiceCUD<User> implements IUserFacadeCUD {

    @Resource
    private UserMapper mapper;

    @Override
    protected CustomMapper<User> initMapper() {
        return mapper;
    }
}
